package qeug.shsh.facde.controller;

import com.drew.lang.annotations.NotNull;
import kd.bos.context.RequestContext;
import kd.bos.dataentity.entity.DynamicObject;
import kd.bos.openapi.common.custom.annotation.ApiController;
import kd.bos.openapi.common.custom.annotation.ApiPostMapping;
import kd.bos.openapi.common.custom.annotation.ApiRequestBody;
import kd.bos.openapi.common.custom.annotation.ApiResponseBody;
import kd.bos.openapi.common.result.CustomApiResult;
import kd.bos.orm.query.QCP;
import kd.bos.orm.query.QFilter;
import kd.bos.permission.api.IUserService;
import kd.bos.permission.model.UserParam;
import kd.bos.service.ServiceFactory;
import kd.bos.servicehelper.BusinessDataServiceHelper;
import kd.bos.servicehelper.QueryServiceHelper;
import kd.bos.servicehelper.user.UserServiceHelper;
import qeug.shsh.facde.RequestContextService;
import qeug.shsh.facde.info.JobsBean;
import qeug.shsh.facde.info.OrgsBean;
import qeug.shsh.facde.info.UserModel;
import qeug.shsh.facde.resultext.SapQuery;
import qeug.shsh.facde.resultext.SapResultExt;
import qeug.shsh.facde.resultext.UserResultExt;

import javax.validation.Valid;
import java.sql.Timestamp;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.*;
@ApiController(value = "SAPController", desc = "Sap接口设计")
public class SAPController  {
    static SapResultExt sapresultext = new SapResultExt();
    @ApiPostMapping(value = "/sapinfo", desc = "SAP接口设计")
    public CustomApiResult<@ApiResponseBody("返回参数") SapResultExt> resultExt
            (@NotNull @Valid @ApiRequestBody(value = "入参") SapQuery sapquery) throws ParseException {

        return CustomApiResult.success(sapresultext);
    }
}
